import request from "@/utils/request";
export function insertDelivery(data) {
  return request({
    url: "/delivery/insert",
    method: "post",
    data: data
  });
}
export function updateDelivery(data) {
  return request({
    url: "/delivery/update",
    method: "post",
    data: data
  });
}
export function deleteDelivery(data) {
  return request({
    url: "/delivery/delete",
    method: "post",
    data: data
  });
}
export function deletesDelivery(data) {
  return request({
    url: "/delivery/deletes",
    method: "post",
    data: data
  });
}
export function enableDelivery(data) {
  return request({
    url: "/delivery/enable",
    method: "post",
    data: data
  });
}
export function enablesDelivery(data) {
  return request({
    url: "/delivery/enables",
    method: "post",
    data: data
  });
}
export function disableDelivery(data) {
  return request({
    url: "/delivery/disable",
    method: "post",
    data: data
  });
}
export function disablesDelivery(data) {
  return request({
    url: "/delivery/disables",
    method: "post",
    data: data
  });
}
export function viewDelivery(params) {
  return request({
    url: "/delivery/view",
    method: "get",
    params: params
  });
}
export function pageDelivery(params) {
  return request({
    url: "/delivery/page",
    method: "get",
    params: params
  });
}
export function searchDelivery(params) {
  return request({
    url: "/delivery/search",
    method: "get",
    params: params
  });
}
